package dao;

import java.util.List;
import java.util.Map;

import model.Income;

public interface IncomeMapper {
    int deleteByPrimaryKey(Long incomeId);

    int insert(Income record);

    Income selectByPrimaryKey(Long incomeId);

    List<Income> selectAll();

    int updateByPrimaryKey(Income record);
    
    Long getIncomeAll(long userId);
    
    Integer withDraw(Map map);
}